export default {
  $onFixPrecision: (amount: number, pos: number = 2) => {
    let pow = Math.pow(10, pos)
    return (Math.round(amount * pow) / pow).toFixed(pos)
  }
}
